import request from '@/utils/request'

// 查询考试关联题目表列表
export function listExamquestion(query) {
  return request({
    url: '/business/examquestion/list',
    method: 'get',
    params: query
  })
}

// 查询考试关联题目表详细
export function getExamquestion(id) {
  return request({
    url: '/business/examquestion/' + id,
    method: 'get'
  })
}

// 新增考试关联题目表
export function saveExamQuestions(data) {
  return request({
    url: '/business/examquestion',
    method: 'post',
    data: data
  })
}

// 修改考试关联题目表
export function updateExamquestion(data) {
  return request({
    url: '/business/examquestion',
    method: 'put',
    data: data
  })
}

// 删除考试关联题目表
export function delExamquestion(id) {
  return request({
    url: '/business/examquestion/' + id,
    method: 'delete'
  })
}
